Release 10.1A: OpenEdge Development:
AppBuilder
Adding a button to the Object Palette
Use this type of entry to define your own object type and place it on the Object Palette:
#object-type&DefaultSpecifies the type of object to add to the Object Palette.
UP-IMAGE-FILEbitmap-file[X,Y]Specifies the name of the bitmap file for
object-typewhen deselected. To fit properly on the Object Palette, the image must be 28 by 28 pixels, including all shadows and highlights.DOWN-IMAGE-FILEbitmap-file[X,Y]Specifies the name of the bitmap file for
object-typewhen selected. To fit properly on the Object Palette, the image must be 28 by 28 pixels, including all shadows and highlights.LABELlabel-nameSpecifies the text for the label for
object-type. This label appears on the Object Palette and in the Object Palette menu.USEmaster-file-nameSpecifies the name of the SmartObject master file to instantiate when
smartobject-typeis selected from the Object Palette. If you specifyUSE, a Choose Object dialog box does not appear.NEWtemplate-file-nameSpecifies the template file that AppBuilder opens when the user performs a New operation from Object Palette. You cannot use this option with the
USEoption.DIRECTORY-LISTlistSpecifies the directories that appear in the Choose dialog box for
object-type.FILTERfilterSpecifies a comma-separated list of file search masks that appear in the Choose dialog box for the current directory.
TITLEtitleSpecifies the title for the Choose dialog box for
object-type.DB-CONNECTSpecifies whether AppBuilder prompts you to connect a database (if one is not connected) when you select the
object-type. This is useful for data-aware objects such as SmartDataViewers, SmartDataObjects, and SmartDataBrowsers.The sample entry in Figure C–1 adds a SmartObject type, specifically a SmartDataBrowser.
Figure C–1: Sample entry for SmartObject type Note: You can also use the
![]()
adecomm/_chosobj.wprocedure in thesrc/adecomm.plprocedure library to modify the Choose Object dialog box. For more information, see OpenEdge Development: Basic Development Tools manual (character only; information for MS-Windows is in online help).
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |